package com.notificacion;

import android.app.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;


public class NotificacionandroidActivity extends Activity implements OnClickListener {
   

	TextView texto;
	Button boton;
	EditText usuario, pass;
	CheckBox check;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        usuario=(EditText) findViewById(R.id.editText1);
        pass=(EditText) findViewById(R.id.editText2);
        boton=(Button) findViewById(R.id.button1);
        check=(CheckBox) findViewById(R.id.checkBox1);
        boton.setOnClickListener(this);
        
    }

	public void onClick(View v) {
	

		switch(v.getId())
		{
		case  R.id.button1 :

				Intent in = new  Intent ("android.intent.action.NOTIFICACION");
				startActivity(in);
			
		break;
		}
		
	}
}